<?php

class m130703_235059_add_field_reset_code_user extends CDbMigration
{
	public function up()
	{
		$this->addColumn('users', 'reset_code', 'VARCHAR(128)');
		return true;
	}

	public function down()
	{
		$this->dropColumn('users', 'reset_code');
		return true;
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}